package com.xiang.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xiang.doman.Order;
import org.apache.ibatis.annotations.Update;

public interface OrderMapper extends BaseMapper<Order> {

        //commit 阶段
        @Update("update t_order set status = #{status} where id = #{id}")
        int  updateOrderStatus(Order order);



}
